﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YiMeiJiaLibModel.Business.Dto
{
    /// <summary>
    ///     拼团记录
    /// </summary>
    public partial class CoreCmsPinTuanRecordDto
    {
        /// <summary>
        ///     用户头像
        /// </summary>
      
        public string userAvatar { get; set; }


        /// <summary>
        ///     昵称
        /// </summary>
        
        public string nickName { get; set; }


        /// <summary>
        ///     参与队员信息
        /// </summary>
        
        public List<PinTuanRecordTeam> teams { get; set; }


        /// <summary>
        ///     参与数量
        /// </summary>
        
        public int teamNums { get; set; }


        /// <summary>
        ///     参与人数计算
        /// </summary>
         
        public int peopleNumber { get; set; } = 0;


        /// <summary>
        ///     剩余时间
        /// </summary>
       
        public int lastTime { get; set; }


        /// <summary>
        ///     剩余时间
        /// </summary>
         
        public bool isOverdue { get; set; } = false;


        /// <summary>
        ///     活动名称
        /// </summary>
         
        public string ruleName { get; set; }


        /// <summary>
        ///     商品名称
        /// </summary>
        
        public string goodName { get; set; }
    }
    public class PinTuanRecordTeam
    {
        /// <summary>
        ///     用户头像
        /// </summary>
   
        public string userAvatar { get; set; }


        /// <summary>
        ///     昵称
        /// </summary>
       
        public string nickName { get; set; }


        /// <summary>
        ///     记录编号
        /// </summary>
   
        public int recordId { get; set; } = 0;

        /// <summary>
        ///     拼团队伍编号
        /// </summary>
        
        public int teamId { get; set; } = 0;

        /// <summary>
        ///     用户编号
        /// </summary>
    
        public int userId { get; set; } = 0;
    }
}
